-- card: 7780 from stack: in -- bmap block id: 7507 -- flags: 0000 -- background id: 7357 -- name: GradesTemplate ----- HyperTalk script ----- on opencard global teacher, report enablemenu teacher, 0, true enablemenu teacher, 2, false enablemenu teacher, 3, false enablemenu report, 0, true enablemenu report, 3, false end opencard on CloseCard global teacher, report enablemenu teacher, 0, true repeat with x = 1 to 6 enablemenu report, x, true end repeat end CloseCard -- part 12 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=454 top=37 right=52 bottom=485 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Total Points -- part 13 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=53 top=60 right=72 bottom=82 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 10 -- style flags: 0 -- line height: 13 -- part name: Period -- part 14 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=111 top=60 right=72 bottom=198 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 10 -- style flags: 0 -- line height: 13 -- part name: Class -- part 26 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=18 top=0 right=22 bottom=45 -- title width / last selected line: 0 -- icon id / first selected line: 2162 / 2162 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: ----- HyperTalk script ----- on mouseUp go to first card end mouseUp -- part 27 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=48 top=0 right=19 bottom=73 -- title width / last selected line: 0 -- icon id / first selected line: 15972 / 15972 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Attendance ----- HyperTalk script ----- On MouseUp put char 1 of word 1 of field "name" into temp put temp & word 2 of field "name" into studentname put studentname & "Attendance" into studentname go to card studentname end MouseUp -- part 28 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=113 top=0 right=35 bottom=142 -- title width / last selected line: 0 -- icon id / first selected line: 1004 / 1004 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Get Assignment ----- HyperTalk script ----- on mouseUp get selection put it into cardname go to card cardname of LessonPlan end mouseUp -- part 29 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=74 top=0 right=25 bottom=113 -- title width / last selected line: 0 -- icon id / first selected line: 1007 / 1007 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Print missing assignments ----- HyperTalk script ----- on mouseUp answer "What do you wish to print?" with "This card" or "Missing" if it is "This card" then open printing print this card close printing else put 1 into x put the number of lines in field 1 into fieldlines repeat until x > fieldlines if line x of field 3 is empty then put line x of field 1 into cardname push this card go to LessonPlan go to card cardname open printing print this card close printing pop card end if add 1 to x end repeat put 1 into x put the number of lines in field 2 into fieldlines repeat until x > fieldlines if line x of field 4 is empty then put line x of field 2 into cardname push this card go to LessonPlan go to card cardname open printing print this card close printing pop card end if add 1 to x end repeat end if end mouseUp -- part 30 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=383 top=1 right=21 bottom=502 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Student Profile ----- HyperTalk script ----- on mouseUp put char 1 of word 1 of field "Name" into temp put temp & word 2 of field "Name" & "Profile" into cardname visual effect iris close go to card cardname end mouseUp -- part contents for background part 58 ----- text ----- -- part contents for background part 61 ----- text ----- 0 -- part contents for background part 62 ----- text ----- 0 -- part contents for card part 12 ----- text ----- 0 -- part contents for background part 56 ----- text -----